<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets">
    <h:head>
        <h:outputScript library="primefaces" name="jquery/jquery.js"/>
        <f:facet name="first">
            <meta http-equiv="X-UA-Compatible" content="EmulateIE8" />
            <meta content='text/html; charset=UTF-8' http-equiv="Content-Type"/>
            <title>Tam Nhat Company - Home</title>
        </f:facet>
        <link type="text/css" rel="stylesheet" href="../css/main.css" />
        <style type="text/css">
            .ui-layout-north {
                z-index:20 !important;
                overflow:visible !important;;
            }

            .ui-layout-north .ui-layout-unit-content {
                overflow:visible !important;
            }
        </style>
        <style type="text/css">
            .ui-widget{font-size:95% !important;}
            .ui-layout-unit-content{background-color: #E5E5E5;border-width: 0px} 
            .ui-widget{border-width: 0px;color: red}
        </style>
    </h:head>
    <h:body>
        <div align="center" id="bodyForm">            
            <div style="width: 100%;">
                <p:layoutUnit id="top" position="north" size="auto">
                    <ui:insert name="menu">
                        <ui:include src="../templates/menu.xhtml"/>
                    </ui:insert>
                </p:layoutUnit>

                <p:layoutUnit id="center" position="center" size="400">
                    <br/>
                    <div align="center">
                        <p:galleria panelHeight="300" panelWidth="1000" showCaptions="true" var="img" value="#{slideController.slideData}">  
                            <p:graphicImage value="/slide/#{img}.jpg" alt="Image Description for" title="Demo"/>                            
                        </p:galleria>
                        <h:outputText value="Chào bạn đã đến với website quản lí của chúng tôi!" style="font-size: 15;color: red;"/><br/>
                        <h:outputText value="ABC XYZ Software" style="font-size: 15;color: red;"/><br/>
                        <h:outputText value="Designed by Thangcoder" style="font-size: 15;color: red;"/>
                    </div>
                </p:layoutUnit>
                <p:layoutUnit id="bottom" position="bottom" size="60">
                    <ui:insert name="footer">
                        <ui:include src="../templates/footer.xhtml"/>
                    </ui:insert>
                </p:layoutUnit>
            </div>
        </div>
    </h:body>
</html>

